/**
 * Created by Administrator on 2017/9/15 0015.
 */
import React from "react"
import Transfer from "./transfer"
import {Modal } from "antd";


export default class ModelTransfer extends React.Component{

    render(){
        let {
            targetSource,
            onCanCel,
            dataSource,
            onCancel,
            visible,
            title,
            onOkSet
        }= this.props;

        return(

            <Modal
                title={title}
                visible ={visible}
                onCancel ={onCancel}
                footer={null}
             >
                <Transfer  dataSource={dataSource}  onCanCel={onCanCel} targetSource={targetSource} onOkSet={onOkSet}  />
            </Modal>

        )
    }
}
